import './index.scss'
import Modal from "../../../components/modal";

import rule1 from "./images/rule-1.png"
import rule2 from "./images/rule-2.png"

const IMAGES = [rule1, rule2]

function RuleModal (props) {
  return (
    <Modal
      className="rule-modal"
      {...props}
    >
      {IMAGES.map(d => <img src={d} alt="" key={d}/>)}
    </Modal>
  )
}

export default RuleModal
